﻿package mortal.game.view.loginNotice
{
    import mortal.game.resource.info.item.*;

    public class LoginNoticeInfo extends Object
    {
        public var type:int;
        public var title:String;
        public var index:int;
        public var notice:String;
        public var itemIds:Array;
        private var _items:Array;

        public function LoginNoticeInfo()
        {
            this.itemIds = [];
            this._items = [];
            return;
        }// end function

        public function get items() : Array
        {
            return this._items;
        }// end function

        public function updateData() : void
        {
            var _loc_1:int = 0;
            var _loc_3:int = 0;
            var _loc_4:ItemData = null;
            var _loc_2:* = this.itemIds.length;
            while (_loc_1 < _loc_2)
            {
                
                _loc_3 = this.itemIds[_loc_1];
                _loc_4 = new ItemData(_loc_3);
                this._items.push(_loc_4);
                _loc_1++;
            }
            return;
        }// end function

    }
}
